public class Test {

    private String s() {
        <caret>
    }

    /* a comment */ String foo;
}